﻿using System;
using System.Data.Entity;
using ICDA.DataModel.Abstract;
using ICDA.DataModel.Entity;
using System.Linq;

namespace ICDA.DataModel.Concrete
{
    public class DBrepository : IRepository
    {
        private ICDAEntity context = new ICDAEntity();

        public IQueryable<UserTable> users
        {
            get { return context.UsersDB; }
        }
        public IQueryable<LeaveTable> leave
        {
            get { return context.LeaveDB; }
        }
        public IQueryable<ActivityTable> activity
        {
            get { return context.ActivityDB; }
        }
    }
}
